{% extends "D3hdvHdvBundle::layoutadmin.html.twig" %}
{% block title %}
Hdv Admin - login {{ parent() }}
{% endblock %}

{% block body %}
	<center><span class="monTitre">Connexion à  l'administration de l'hôtel des ventes</span></center>

    {% if error %}
        <div class="error">{{ error.message }}</div>
    {% endif %}
 
    <form action="{{ path('_security_check_hdv_admin') }}" method="POST">
        
        <input type="hidden" name="_target_path" value="{{ url('D3hdv_hdv_admin_compte') }}" />

        <div>
            <label for="username">Login Admin:</label>
            <input type="text" id="username" name="_username" value="{{ last_username }}" />
        </div>
        
        <div>
            <label for="password">Mot de passe Admin:</label>
            <input type="password" id="password" name="_password" />
        </div>  
        
        <input type="submit" name="login" value="Connexion" />
        
    </form>
	<br />

{% endblock %}
